		Martial
	The Letter Frequency Analyzer
	     version 0.02
	http://spoony-bard.com/zackman/martial

These are the simple instructions*:
	To start: Click Open and choose to the file you want. Currently all extensions show by 
default. Of course, recommended are script files that are ready to 
insert.

	Then: In the Sample Length box, type the length of string you want to look for. 
You can enter any number of sample lengths or ranges using this format:
1    (normal)
1-20 (range)
-5   (default range from 1 to x)
1,5  (commas)
1,2-3,4,8,9,10-20  (everything)


	Next: Enter the number of results you want to see in the Number of Results box.
Enter a number or Martial will default to 25 to spite you. Do not enter negative numbers or you
will not see any results.

	Finally: Click Analyze and watch the cute little address counter spin away. 
If you get tired of the analyzation, you can always click Cancel and try another day. 
The file read takes a long time since each byte is compared against every other different
byte found so far. Therefore, long sample lengths can take a very long time as the number of
matches increases exponentially. 
For instance, 1,2-3,4,8,9-11 would probably take 2 minutes on a 10K file on my P3/600.

	Enjoy: The results will print in the following format:
Filename
File length	Bytes actually counted(only matters with comments enabled)
Number of unique samples (for example, a typical 4K text file only has about 70 to 80 of length 1)
The sample lengths requested
The samples, sorted most space first in this format
<Rank>(<sample>): total space = <totalspace>

	Extras:
Ignore Spaces and Tabs: Instructs Martial to cut matches with spaces or tabs from the final results
Ignore Returns: Instructs Martial to cut matches with returns from the final results
WARNING:These matches still count towards the total number of matches so if you use these options,
you might want to crank up the number of matches a few above the number you really want.

Use Comments:
When comments are enabled, Martial skips all bytes within the comments. Alternatively, you can
check Read Only *Inside* Comments, and Martial will read only inside comments. Use this feature
to divide a script into two pieces. For example, one piece could be the Japanese and partial
English translation, while the other piece could be the finished English translation.
The comment styles offered are C, C++, Thingy, and custom. Obviously custom is the most useful.
Custom comment tags can be any length; leave the end comment tag blank for new line.

Rollover Help:
1.Click the ? until it is pushed in
2.Point at things
  2.5 With your mouse, not your finger!
3.Read the description
4.Now use Martial successfully

System requirements:
Win32 system
Visual Basic runtimes(free!)version 5 and 6. 5 is the program, 6 is the updated common dialog I use.
You are on your own to find both of these. Try Dell for the first, Microsoft for the second.
But you probably have both already anyway.

by ZackMan
reachable at sandersn@hotmail.com
http://now.at/zackman, which is a shortcut for http://spoony-bard.com/zackman

version history:
0.01 First release:
Releasing a very early version because of interest. Necrosaro has some interesting ideas
that could make this very much more useful.
0.02:
Added many new features: Comments, multiple parse lengths, improved match sorting, full
context sensitive rollover help.

Legal:Feel free to use this however you want. The Visual Basic source is included and ports
are a good idea too. However, please don't sell anything based on this program's source.
This document should be viewed with Notepad at a resolution of 800x600 or Word Wrap.
I am not responsible for any typos that cause you to lose $3 billion in a bet with Bill Gates,
in this document or Martial.

*If you don't know what a letter frequency analyzer is useful for, you probably won't
be able to make sense of the rest of the document. Or Martial itself for that matter.